package com.pucong.gitee.database.backup.database.service;

import com.pucong.gitee.database.backup.database.vo.DeleteDataSchema;
import com.pucong.gitee.database.backup.database.vo.RenameDataSchema;

import java.util.List;

public interface OperationDataSchemaService {

    /**
     * 获取模式list
     * @param databaseId
     * @param databaseName
     * @return
     */
    List<String> getSchemaList(String databaseId,String databaseName);

    Boolean renameDataSchema(String databaseId, RenameDataSchema renameDataSchema);

    Boolean deleteDataSchema(String databaseId, DeleteDataSchema deleteDataSchema);
}
